home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / pascal / tdlib20.zip / 3DC.DOC < prev    next >
Text File  |  1993-06-03  |  7KB  |  170 lines

  1.  
  2.  ╔══════════════════════════════════════════════════════════════════════════╗
  3.  ║                                                                          ║
  4.  ║                                 ISoft D&M                                ║
  5.  ║                                 POB. 5517                                ║
  6.  ║                           Coralville IA 52241                            ║
  7.  ║                                   U.S.A                                  ║
  8.  ║                                                                          ║
  9.  ╚══════════════════════════════════════════════════════════════════════════╝ 
  10.  
  11. *******************************************************************************
  12. *                              3dC DOCUMENTATION                              *
  13. * Last Update : Feb. 13, 1993.                                                *
  14. *******************************************************************************
  15.  
  16. *******************************************************************************
  17. *                                INTRODUCTION                                 *
  18. *******************************************************************************
  19.  
  20.  
  21. 3dC is a translator that converts 3D animation macros (M3D files) into
  22. Borland Pascal 7.0 source programs that can be used with the 3dLIB package
  23. to create 3D animation executables, or 3D animation procedures that can
  24. be implemented in your programs.
  25.  
  26. The generator can create code for Dos and Windows, from the same source!.
  27.  
  28. M3D macro programs can be animated for test purposes using the ISoft D&M 
  29. distributed 3D120 package, Or the supplied 3dA program.
  30. You can use 3DC to create animated programs without this package. 
  31.  
  32. Please notice : older versions of the 3D program that were distributed as 
  33. 3D100 and 3D110 packages are supported, but a small change in the macro
  34. language exist in the GOTO command, that uses ',' to separate arguments, 
  35. while the older versions used only spaces, that could cause improper
  36. translation when negative arguments were passed.
  37.  
  38. *******************************************************************************
  39. *                                    USAGE                                    *
  40. *******************************************************************************
  41.  
  42. At the command line type 
  43.  
  44. 3DC input.m3d [output.pas]
  45.  
  46. Where input.m3d is the name of the input macro language.
  47.  
  48. If no output name is specified 3DC creates a pascal source file called
  49. 3DPAS.PAS .
  50.  
  51. To compile the generated source file use Turbo Pascal 6.0 with the following
  52. command :
  53.  
  54. TPC /M source.pas 
  55.  
  56. or BP7 with 
  57.  
  58. BPC /m source
  59.  
  60. Be sure that the compiler can find the GRAPH.TPU file supplied with 
  61. Turbo/Borland Pascal.
  62.  
  63. To run the executable created type it's name in the command line, 
  64. and be sure that the required graphic .BGI file is in the current
  65. directory. (please refer to your Turbo Pascal manual about your .BGI file).
  66.  
  67. If you want 3dC to produce code for the Windows 3.0 or 3.1 environment use
  68. the /W+ switch on the command line, and compile using Turbo Pascal for Windows.
  69. (You can compile to windows targets with BP7 using BPC /cw .. as well).
  70.  
  71. If you run Windows you can use the supplied 3dCW.EXE program - a Windows
  72. hosted generator available from version 1.4 .
  73.  
  74. IMPORTANT - if you want the 3dCW program to find the HELP file, we recommend
  75. that you set the working directory of the 3dCW file in the program manager
  76. to the directory you installed the 3dCW.Hlp file!
  77.  
  78. *******************************************************************************
  79. *                               MACRO LANGUAGE                                *
  80. *******************************************************************************
  81.  
  82. The following commands are supported by the 3DC translator in the 3D Macro 
  83. language :
  84.  
  85. c   - Clear Screen .
  86. w   - set Color to White.
  87. b   - set Color to Black.
  88. p   - Paint Active object in last color.
  89. o0  - set Perspective off.
  90. o1  - set Perspective on.
  91. >x   - Start a loop to be performed x times.
  92. lfl - Load simple object from file fl into the active object.
  93. Lfl - Load complex object from file fl into the active object.
  94. rad  - Rotate Active Element In axis a, d degrees.
  95. ex  - Choose Active Element x.
  96. mas  - Move in a axis, s steps.
  97. gx,y,z - Goto 3d pos x,y,z.
  98. saf  - Scale a axis in f factor.
  99. v0..v9 variable names.
  100. <    - End Loop.
  101. \    - End line.
  102. z    - set object to center.
  103. Rsad - rotate a sub object of a complex object
  104.         around axis a, d degrees.
  105. Msas - move a sub object of a complex object
  106.         in axis a, s steps.
  107. Ssaf - scale a sub object of a complex object
  108.         around axis a, by a factor of f.
  109.  
  110.  
  111.  
  112. Special Notes : a number must end with a space character.
  113.                 Loops can be nested 10 levels deep in the 3D120 package, 
  114.                 but 3DC can translate even more levels that.
  115.  
  116.                 any numeric expressions requested can be
  117.                 given with a normal infix notation, for
  118.                 example :
  119.  
  120.                 rx30 * v1 + 2
  121.  
  122.                 will rotate the current active object
  123.                 around the x axis, by 2 plus 30 * v1
  124.                 degrees, where v1 is a variable.
  125.  
  126. *******************************************************************************
  127. *                                   General                                   *
  128. *******************************************************************************
  129.  
  130.   3dLIB is distributed by ISoft D&M, P.O.B. 5517 CORALVILLE IA 52241, U.S.A.
  131.   
  132.   3dLIB is (c) copyrighted by Loewy Ron, 1991,93.
  133.  
  134.   3dLIB is a shareware package, please register your copy. 
  135.   To register your copy of 3dLIB please refer to the supplied
  136.   3DLIB.REG file. 
  137.  
  138.   Other programs distributed by ISoft D&M are described in the supplied  
  139.   PROGRAMS.TXT file.
  140.  
  141. *******************************************************************************
  142. *                                   Contact                                   *
  143. *******************************************************************************
  144.  
  145.   Please contact :
  146.  
  147.   ISoft D&M,  
  148.   P.O.B 5517
  149.   Coralville IA 52241,
  150.   U.S.A
  151.  
  152.   To contact the author directly : 
  153.  
  154.   Contact :     Loewy Ron,
  155.                 9 Haneveem st.
  156.                 Herzeliya, 46465
  157.                 ISRAEL.
  158.  
  159.   e-mail address : CompuServe - 100274,162
  160.  
  161. *******************************************************************************
  162. *                                   Credits                                   *
  163. *******************************************************************************
  164.  
  165.   3dLIB and 3dC were written using Turbo Pascal V6.0, Turbo Pascal
  166.   for Windows V1.5 and Borland Pascal with objects V7.0, trademarks 
  167.   of Borland International.
  168.  
  169.   Windows 3.0 and Windows 3.1 are trademarks of Microsoft Corp.
  170.